package com.lesserpand.lspand.story.item.entity;

import com.alibaba.fastjson.annotation.JSONType;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.Data;

/**
 * @author bailuo
 * @version 0.0.1
 * @package com.lesserpand.lspand.story.item.entity
 * @description TODO
 * @date Created in 2018/6/8 12:01
 * @company 满屋严选
 * @copyright Copyright (c) 2017
 * @modified By
 */
@Data
@JSONType(serialzeFeatures = {
        SerializerFeature.WriteMapNullValue,
        SerializerFeature.WriteNullStringAsEmpty,
        SerializerFeature.WriteNullListAsEmpty,
        SerializerFeature.WriteNullNumberAsZero,
        SerializerFeature.WriteNullBooleanAsFalse
})
public class StudentDTO {
    private static final long serialVersionUID = -763638353551774166L;
    public static final String INDEX_NAME = "index_entity";
    public static final String TYPE = "tstype";
    private Long id;
    private String name;

}
